﻿@model ContentResourceQuery
@{
    var x = @Html.EasyUi();
}
<div id="divQuery_contentResources" class="divQueryForm">
    @using (x.Form("formQuery_contentResources").AddClass("form").Begin())
    {
        <dl>
            <dt>@Html.LabelFor(t => t.Title)</dt>
            <dd>
                @x.TextBox(t => t.Title)
            </dd>
        </dl>
        <dl>
            <dt>@Html.LabelFor(t => t.CategoriyId, "分类")</dt>
            <dd>
                @x.ComboTree("CategoriyId", "CategoriyId", "/contentResources/Category/ComboTree", "").Width(200)
            </dd>
        </dl>
        <dl>
            <dt>@Html.LabelFor(t => t.Type)</dt>
            <dd>
                @x.Combox(t => t.Type).AddDefault("").Width(100)
            </dd>
        </dl>
        <dl>
            <dt>@Html.LabelFor(t => t.State)</dt>
            <dd>
                @x.Combox(t => t.State).AddDefault("").Width(100)
            </dd>
        </dl>
        <span class="button" style="float: right">
            @x.Button("查 询").Width(70).Icon("icon-search").Query("formQuery_contentResources", "grid_contentResources")
        </span>
    }
</div>